package com.cq.hd.member.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class InviteBusinessUrlSaveDto implements Serializable {

    @NotBlank(message = "链接名称不能为空")
    @ApiModelProperty(value = "链接名称")
    private String inviteName;

//    @NotNull(message = "试用期不能为空")
    @ApiModelProperty(value = "试用期")
    private Integer trialDay;

    @NotNull(message = "活动发布次数不能为空")
    @ApiModelProperty(value = "活动发布次数")
    private Integer activeCount;

    @ApiModelProperty(value = "经纪人数")
    private Integer userCount;

    @NotNull(message = "链接有效期不能为空")
    @ApiModelProperty(value = "链接有效期(0表示永久有效)")
    private Integer urlValidDay;

    @ApiModelProperty(value = "备注")
    private String remark;

}
